/*
 * @Description:配置文件
 * @Author: Ronda
 * @Date: 2021-05-10 17:01:17
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2022-04-26 20:57:41
 */
import { resetRouter } from '@/router'
import { removeRoutesSession, removeToken, removeUserInfoCookie } from './auth'

export function resetTokenAndClearUser() {
  // 退出登陆 清除用户资料
  removeToken();
  removeUserInfoCookie();
  removeRoutesSession();
  // 重设路由
  resetRouter()
}

export const uploadFileURL = 'http://139.196.151.218:7001/file/upload'

